package com.cjm.one.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.common.result.Result;
import com.cjm.one.model.coupon.dto.CouponReserveDto;
import com.cjm.one.model.coupon.entity.CustomerCoupon;
import com.cjm.one.model.coupon.vo.CouponInfoVo;

public interface CustomerCouponService {
    Result<Page<CouponInfoVo>> getList(Long current, Long size, String keyWord, Integer rangeType);

    Result<Boolean> save(CustomerCoupon customerCoupon);

    Result<Boolean> autoReceive(CouponReserveDto couponReserveDto);
}
